<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>背景重复和尺寸定制</title>
  <style>
    article {
      width: 150px;
      height: 150px;
      background: radial-gradient(red 0, yellow 30%, black 60%, black 100%);
      background: linear-gradient(45deg, red 50%, blue 0%);
    }
  </style>
</head>

<body>
  <article>
    <div>
      <h2>houdunren.com</h2>

    </div>
  </article>
</body>

</html>